public class teacher {
    String  t_name;
    int t_age;
    int t_phone;
    String t_emile;
    String t_subject;
    void what_teach(){
        System.out.println(this.t_name+"老师教"+t_subject);
    }
    void age_teach(){
        System.out.println(this.t_name+"老师"+t_age+"岁了");
    }
    void touch_teacher(){
        System.out.println(this.t_name+"老师的联系方式"+t_phone+" "+t_emile);
    }
    teacher(String t_name,int t_age,String t_subject){
        this.t_name=t_name;
        this.t_age=t_age;
        this.t_subject=t_subject;
    }
    teacher(String t_name,String t_subject){
        this.t_name=t_name;
        this.t_subject=t_subject;
    }
    teacher(String t_name,String t_emile,int t_phone){
        this.t_name=t_name;
        this.t_emile=t_emile;
        this.t_phone=t_phone;

    }
}
